window: Remove default_icon_serial
authorTimm Bäder <mail@baedert.org>
Sun, 30 Dec 2018 05:54:57 +0000 (06:54 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Feb 2019 13:11:43 +0000 (08:11 -0500)
Now unused.

gtk/gtkwindow.c

index bd217ab9c998c45034d771db8a9823d2017292db..d52a087d92003d6cb3d18dd9b8a9c199cd10118e 100644 (file)
@@ -523,7 +523,6 @@ static void gtk_window_state_flags_changed (GtkWidget     *widget,
 static GListStore  *toplevel_list = NULL;
 static guint        window_signals[LAST_SIGNAL] = { 0 };
 static gchar       *default_icon_name = NULL;
-static guint        default_icon_serial = 0;
 static gboolean     disable_startup_notification = FALSE;
 
 static GQuark       quark_gtk_window_key_hash = 0;
@@ -4775,10 +4774,6 @@ gtk_window_set_default_icon_name (const gchar *name)
   GList *tmp_list;
   GList *toplevels;
 
-  /* Update serial so we don't used cached pixmaps/masks
-   */
-  default_icon_serial++;
-
   g_free (default_icon_name);
   default_icon_name = g_strdup (name);